package com.cloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/6/25 7:21
 * @Desc
 * @Remarks
 */
@Configuration
public class OpenFeignLogConfig {
//    配置所有的日志级别都为FULL
    @Bean
    Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;
    }
}
